import { ref, computed,reactive } from 'vue'
import { defineStore } from 'pinia'



export const useRefStore = defineStore('refobj',()=>{
  const refobj = reactive({
    field:'',
    item:null
  })
  function clearRef(){
    refobj.field = ''
    refobj.item = null
  }
  return {
    refobj,
    clearRef
  }

})
